package com.woniuxy.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "PeccancyRecord", description = "违章记录")
public class PeccancyRecord {
    @ApiModelProperty(value = "[主键]自动增长")
    private int id;
//    @ApiModelProperty(value = "车辆id")
//    private int carId;
    @ApiModelProperty(value = "车辆")
    private Car car;
//    @ApiModelProperty(value = "违章项目id")
//    private int pecOption;
    @ApiModelProperty(value = "违章项目")
    private Dictionary pecOption;
    @ApiModelProperty(value = "违章日期")
    private Date pecDate;
    @ApiModelProperty(value = "付款")
    private double fine;
    @ApiModelProperty(value = "扣分")
    private int points;
//    @ApiModelProperty(value = "驾驶员id")
//    private int driverId;
    @ApiModelProperty(value = "驾驶员")
    private Driver driver;
    @ApiModelProperty(value = "违章地点")
    private String pecPlace;
    @ApiModelProperty(value = "备注")
    private String remarks;
}
